package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.Role;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
public class RoleDto extends Role {
    /**
     * 角色编号
     */
    @JsonProperty(value = "role_id")
    private String roleId;

    /**
     * 菜单编号
     */
    @JsonProperty(value = "role_menus")
    private String roleMenus;


    /**
     * 菜单编号
     */
    @JsonProperty("menuids")
    private List<Integer> menuIds;




}
